package com.airnews.ticket.util;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;

import android.graphics.Color;
import android.os.Build;

import com.airnews.ticket.R;
import com.airnews.ticket.model.Menu;
import com.airnews.ticket.model.Point;

public class Constants {
	
	public static final String PREFS_FILE="travelsky.prefs";
	public final static String FIELD_ENCRYPT_UID="uid";
	public final static String FIELD_ENCRYPT_TIMESTAMP="timestamp";
	public final static String FIELD_ENCRYPT_HASHCODE="hashcode";
	public final static String EFLY_ENCRYPT_UID="eshore";
	public final static String EFLY_ENCRYPT_PASSWORD="eshore789@#";
	public final static String PHONE_NUM_KEY = "phone_num";
	public final static String PASSENGER="passengers";
	public final static String TAB_INDEX = "tabIndex";
	public final static String IS_ZHIJI_KEY = "isZhiji";//是否可值机
	public static final String ORDER_TIME_START = "2010-01-01 00:00:00";//我的订单开始时间
	public static final String XUAN_ZUO = "选座";
	public static String ticketNo;//当前机票号
	//public static List<Map<String, String>> ticketList = new ArrayList<Map<String, String>>();//机票列表
	public static Map<String, Point> selectedPoints = new HashMap<String, Point>();//选中的座位和机票号的对应<机票号，座位>
	//public static Cuss cuss;//值机结果
	public static final String SEND_SMS = "1";//发短信 1:发；0:不发
	public static final String PAGE_SIZE = "30";
	/*public static final List<String> yizhijis = new ArrayList<String>();
	public static String orderId;*/
	//命名空间
	public static final String NAMESPACE = "http://asbe.airnews.com/";
	public static final String MEMBER_NAMESPACE = "http://COA.airnew.com/";
	
	
	public static final String RESULT_OK = "00";
	
	public static final String USER_AGENT = Build.MODEL;
	
	public static final String DOWNLOAD_DIR = "download";
	public static final String SUB_IMG_DIR = "img";
	
	/*主菜单*/
	public static final ArrayList<Menu> mainMenuList = new ArrayList<Menu>();
	
	
	/*列表的颜色 
	 * 用法：View.setBackgroundColor(LIST_COLORS[position % LIST_COLORS.length]);*/
	public static int[] LIST_COLORS = {Color.rgb(14 * 16 + 10, 15 * 16 + 4, 15 * 16 + 14),
								 Color.rgb(12 * 16 + 11, 14 * 16 + 3, 15 * 16 + 15)};
	
	public static final String SYSTEM_TYPE_COM_CITY = "comCity"; 
	public static final String SYSTEM_TYPE_TO_CITY = "toCity"; 
	
	public static String ASID = "";
	public static String SecretKey = "";
	public static String IVS = "";
	public static String OfficeID = "";
	public static final String SYSTEM_TYPE_ASID = "system_ASID"; 
	public static final String SYSTEM_TYPE_SECRETKEY = "system_secretKey"; 
	public static final String SYSTEM_TYPE_IVS = "system_ivs"; 
	public static final String SYSTEM_TYPE_OFFICEID = "system_officeID"; 
}
